<!-- Sub Banner -->
<div id="sub_banner" class="training_head">
  <div class="container">
    <?php echo include_partial('course/badges', array('course' => $course)); ?>
    <div class="text">
      <img src="/images/training-banner.jpg" style="margin-top:-94px; float:left;" />
    </div>
  </div>
</div>
<!-- Sub Banner End -->

<!-- Sub Content -->
<div id="sub_content">
  <div class="container">
    <div class="course-breadcrumb">
      <div id="breadcrumb">
        <ul class="crumbs">
          <li class="first"><a href="<?php echo url_for('@courses'); ?>" style="z-index:9;"><span></span>Training Center - Home</a></li>
          <li class="last"><a href="javascript:void(0);" style="z-index:8;"><span class="bradc-ques">Questions:</span> <?php echo $course->getTitle(); ?>4</a></li>
        </ul>

      </div>
      <div class="clear"></div>
    </div>
    <div class="slider-wrapper">
      <div class="slider-posision"><span class="ques">Question <?php echo $sf_request->getParameter('question_num'); ?></span> of <?php echo $questionCount; ?></div>
      <h3 class="slider-heading"> &nbsp;&nbsp;<?php echo $question->getQuestion(); ?></h3>
      <div class="ques-answers">
        <form id="q" class="form-ques" method="POST" action="">
          <ul>
            <?php foreach ($choices as $i => $choice) : ?>
              <li>
                <input type="radio" name="choice" id="choice_<?php echo $i; ?>" value="<?php echo $i; ?>" <?php if (!is_null($selChoice) && $i == $selChoice) : ?>checked<?php endif; ?> /> <label for="choice_<?php echo $i; ?>"><?php echo $choice->getChoice(); ?></label>
              </li>
            <?php endforeach; ?>
          </ul>
        </form>
        <div class="clear"></div>
      </div>
      <div class="navigator">
        <?php if (!$isFirstQuestion) : ?>
          <a class="btn btn-green btn-ques-back" href="<?php echo url_for('@question?course_id=' . $course->getId() . '&question_num=' . ($sf_request->getParameter('question_num') - 1)); ?>">&lt;&lt; Back</a>
        <?php else: ?>
          <a class="btn-back-to-course btn-yellow" href="<?php echo url_for('@slide?course_id=' . $course->getId() . '&slide_num=' . $lastSlideNum); ?>">&lt;&lt; Back to Slides</a>
        <?php endif; ?>
        <?php if (!$isLastQuestion) : ?>
          <a class="btn btn-green btn-ques-next" href="javascript:void(0);" onClick="$('#q').submit(); return false;">Next &gt;&gt;</a>
        <?php else : ?>
          <a class="btn btn-ash btn-ques-complete" href="javascript:void(0);" onClick="$('#q').submit(); return false;">Complete</a>
        <?php endif; ?>
        <div class="clear"></div>
      </div>
    </div>
  </div>
</div>


<!-- Sub Content End -->
